Hybrid Regression Test Selection
نویسنده
چکیده
Regression testing is crucial but can be extremely costly. Regression Test Selection (RTS) aims to reduce regression testing cost by only selecting and running the tests that may be a!ected by code changes. To date, various RTS techniques analyzing at di!erent granularities (e.g., at the basic-block, method, and "le levels) have been proposed. RTS techniques working on "ner granularities may be more precise in selecting tests, while techniques working on coarser granularities may have lower overhead. According to a recent study, RTS at the "le level (FRTS) can have less overall testing time compared with a "ner grained technique at the method level, and represents state-of-the-art RTS. In this paper, we present the "rst hybrid RTS approach, HyRTS, that analyzes at multiple granularities to combine the strengths of traditional RTS techniques at di!erent granularities. We implemented the basic HyRTS technique by combining the method and "le granularity RTS. The experimental results on 2707 revisions of 32 projects, totalling over 124 Million LoC, demonstrate that HyRTS outperforms state-of-the-art FRTS signi"cantly in terms of selected test ratio and the o!ine testing time. We also studied the impacts of each type of method-level changes, and further designed two new HyRTS variants based on the study results. Our additional experiments show that transforming instance method additions/deletions into "le-level changes produces an even more e!ective HyRTS variant that can signi"cantly outperform FRTS in both o!ine and online testing time. ACM Reference Format: Lingming Zhang. 2018. Hybrid Regression Test Selection. In ICSE ’18: ICSE ’18: 40th International Conference on Software Engineering , May 27-June 3, 2018, Gothenburg, Sweden. ACM, New York, NY, USA, 11 pages. https: //doi.org/10.1145/3180155.3180198
منابع مشابه
Structural Software Testing: Hybrid Algorithm for Optimal Test Sequence Selection during Regression Testing
Regression testing is one of the testing methods, which is done to ensure that the changes made in fixes or any improvement changes does not affect the previously developed functionality of the software. When modification is done to an application, the newly added features had to be tested along with the already available features to ensure that the modification at one part of the program does ...
متن کاملRegression Test Selection and Prioritization Using Variables: Analysis and Experimentation
reducing test suite size without compromising the suite’s effectiveness in performing regression testing. This article presents a hybrid technique using the variable-based method that combines both selection and prioritization. It considers source code changes and coverage information with respect to each test case. Variables are the vital source of changes in the program, and this method captu...
متن کاملRegression Testing Prioritization, Selection and Reduction using Hybrid Criteria
Regression testing is a software testing technique. Testing and validating the part of code are the activity performed within different phases. Tasks of regression testing are: Test Case Prioritization, Test Suite Selection, Test case reduction which give the guarantee that no intended fault is produced while modifying the code. This paper hybrid all the criteria’s in different prospective with...
متن کاملA Comparative Study of Coarse - and Fine - Grained Safe Regression Test Selection
Regression test selection techniques reduce the cost of regression testing by selecting a subset of an existing test suite for reveri cation of a modi ed program. Over the past two decades, numerous regression test-selection techniques have been described in the literature. Initial empirical studies of a few of these techniques have shown that they can be bene cial, but so far, few studies have...
متن کاملOn Different Model Selection Criteria In A Forward And Backward Regression Hybrid Network
An assessment of the performance hybrid network with different model selection criteria is considered. These criteria are used in an automatic model selection algorithm for constructing a hybrid network of radial and Perceptron hidden units for regression. A forward step builds the full hybrid network; A model selection criterion is used for controlling the network-size and another criterion is...
متن کامل